import axios from '@/utils/axiso'
// banner
export const getBanner =()=>axios.get('/banner')
// http://120.53.31.103:84/api/app/recommend/appIndex
// 首页数据
export const getAppIndex =()=>axios.get('/recommend/appIndex')
// smsCode 获取验证码
export const getAppCode =(obj)=>axios.post('/smsCode',obj)
// /login登录
export const getLogin=(obj)=>axios.post('/login',obj)
// 课程
export const getCourse=(obj)=>axios.post('/courseChapter',obj)
// 个人中心 /userInfo
export const getUserInfo=()=>axios.get('/userInfo')
// 设置密码
export const getPassword=(obj)=>axios.post('/password',obj)